package com.j1905.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class User {
	private int id;
	private String uname;
	private int age;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date birthday;
	
	
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUname() {
		return uname;
	}
	public void setUname(String uname) {
		this.uname = uname;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public User(int id, String uname, int age) {
		super();
		this.id = id;
		this.uname = uname;
		this.age = age;
	}
	public User() {
		super();
	}
	 
}
